package com.caiyi.tips.user.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/*
 * @author Cliff.ZhouYang
 * @date 2017/11/16 15:55
 */
@Data
@ApiModel(value = "用户注册对象")
public class UserRegisterDTO implements Serializable {
    //数据库对象
    @ApiModelProperty(value = "用户名", required = true)
    private String nickid;//用户名

    @ApiModelProperty(value = "密码", required = true)
    private String password;//密码

    @ApiModelProperty(value = "手机号", required = true)
    private String phone;//手机号

    @ApiModelProperty(value = "渠道", required = true)
    private int source;//渠道

    @ApiModelProperty(value = "客户端类型 0Web 1 安卓 2 iOS 3 H5", required = true)
    private int mobileType;//客户端类型 0Web 1 安卓 2 iOS 3 H5

    @ApiModelProperty(value = "短信验证码", required = true)
    private String yzm;//6位短信验证码

    @ApiModelProperty(value = "验证码类型 0手机号注册 1忘记密码 2手机号换绑", required = true)
    private int yzmType;//验证码类型（0手机号注册 1忘记密码 2手机号换绑）

    @ApiModelProperty(value = "用户类型 0推单用户 1普通用户", required = true)
    private Integer userType;//用户类型 0推单用户 1普通用户

    @ApiModelProperty(value = "图片验证码", required = false)
    private String random;
}
